<!-- 尝试在已有的旧项目中编写并引入React组件 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>react引入测试页</title>
    <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
    <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
    <link rel="icon" href="#" />
    <!-- 引入react与react-dom两个库 -->
    <link rel="stylesheet" href="./newPage1.css">
</head>
<body>
    <div id="root0"></div>  <!-- 待注入组建的DOM容器 -->
    <div id="root1"></div>
    <div id="root3"></div>
    <div id="root4"></div>
    

    <!-- 在这里加载我们的 React 组件，一定要写上type="text/javascript"  -->
    <script type="module" src="./App.js"></script>
    <script type="module" src="./App2.js"></script>
    <script type="module" src="./App03.js"></script>
    <!-- <script type="text/babel" src="./Test2.jsx"></script> -->
</body>
</html>